package com.example.controller;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ChenXiaoBin
 * on 2019-10-14
 */
@RestController
@RequestMapping("/V1.0/excel")
public class ExcelController {

    /**
     * 导入
     *
     * @param file
     */
    @ApiOperation(value = "excel文件导入", notes = "excel文件导入")
    @PostMapping("/import")
    @ApiImplicitParam(required = true, dataType = "String", paramType = "String")
    public void addUser(@RequestParam("file") MultipartFile file) throws Exception {

    }
}
